package com.ruoyi.project.instrument.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import java.util.Date;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 仪器使用情况统计对象 ins_instrument_use_statistics
 *
 * @author taney
 * @date 2020-06-09
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("ins_instrument_use_statistics")
public class InsInstrumentUseStatistics implements Serializable {

    private static final long serialVersionUID=1L;


    /** 仪器ID */
    private Integer instrumentId;

    /** 项目检测数量 */
    @Excel(name = "项目检测数量")
    private Integer itemTestCount;

    /** 试剂使用量 */
    @Excel(name = "试剂使用量")
    private Integer reagentUseCount;

    /** 报警记录次数 */
    @Excel(name = "报警记录次数")
    private Integer alarmCount;

    /** 维护记录次数 */
    @Excel(name = "维护记录次数")
    private Integer maintainCount;

    /** 最后更新时间 */
    @Excel(name = "最后更新时间" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdateTime;
}
